﻿using FarmSmartSleep.Common.Domain.AubitFile;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FarmSmartSleep.Common.Domain.RaiseManagement
{
    /// <summary>
    /// 养只死亡管理
    /// </summary>
    public class SheepRaiseDeath : Aubuit
    {
        /// <summary>
        /// 养只死亡管理ID
        /// </summary>
        [Key]
        public int SheepRaiseDeathId { get; set; }
        /// <summary>
        /// 死亡日期
        /// </summary>
        public DateTime SheepRaiseDeathData { get; set; }
        /// <summary>
        /// 档案编号(羊只耳号)
        /// </summary>
        public int SleepInforId { get; set; }
        /// <summary>
        /// 死亡原因ID
        /// </summary>
        public int SheepDeathId { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string? SheepRaiseDeathCode { get; set; }
    }
}
